package com.ld.control.business.equipment.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author wangfeng
 * @since 2025-01-09
 */
@Data
@TableName("equipment_data_field_config")
@Schema(description = "EquipmentDataFieldConfigModel对象")
public class EquipmentDataFieldConfigModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "设备id")
    private Long equipmentId;

    @Schema(description = "字段名")
    private String fieldName;

    @Schema(description = "字段别名")
    private String fieldAlias;

    @Schema(description = "备注")
    private String remark;


    public static final String ID = "id";

    public static final String EQUIPMENT_ID = "equipment_id";

    public static final String FIELD_NAME = "field_name";

    public static final String FIELD_ALIAS = "field_alias";

    public static final String REMARK = "remark";

}
